#ifndef _DOG_H
#define _DOG_H

#include "Object.h"

#define DOG_VX			0.15
#define DOG_GRAVITY		0.01

 

/************************************************************************/
/* Dog Enemy Class                                                      */
/************************************************************************/

class Dog : public Object
{
private:
	bool is_turn_left;
	bool is_gravity;

	float timeDie;

	Sprite* p_light;

public:

	/*
	 *	get/set properties
	 */
	OBJECT_TYPE getObjectType();

	/*
	 *	constructor/destructor
	 */	
	Dog(LPDIRECT3DDEVICE9 d3ddv,  LPDIRECT3DSURFACE9 BackBuffer, LPD3DXSPRITE SpriteHandler, float x, float y, int ID, int Object_State, int Direction);
	~Dog();

	/*
	 *	Method
	 */
	void turnLeft();
	void turnRight();

	void move(list<Object*>* obj_list, float TPF);
	void move(list<Object*>* obj_list, float TPF, Object* simon);

	void update(list<Object*>* obj_list, DxInput* input, float TPF);
	void update(list<Object*>* obj_list, DxInput* input, float TPF, Object* simon);

	void render(int cameraX, int cameraY);
	void changeState(int state);
};

#endif